@import 'public.css';
@import "iconfont.css";
body{
    background: url("/statics/images/background.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

header{
    padding: 0!important;
}
#logo{
    display: flex;
}
.el-header{
    background: rgba(255,255,255,0.7);
}
.el-header>div{
    position: absolute;
    top: 0;
    text-align: center;
    left: 50%;
    font-size: 30px;
    transform: translateX(-50%);
    font-weight: bold;
}
.el-header>img{
    margin-left: 10%;
    border-radius: 50%;
    width: 50px;
}
#main .el-main{
    margin:100px 0% 150px 20%;
    background-color: rgba(245,246,247,0.7);
    border-radius: 20px;
}
#main header{
    text-align: center;
    font-size: 20px;
    font-weight: bolder;
}
.el-main{
    overflow-x: hidden;
}
.el-main header+div{
    display: flex;
    justify-content: space-between;
    font-size:12px;
    color:#556a7f;
    align-items: center;
}
.el-main .red{
    color:red;
}
.el-main header+div ul{
    display: flex;
    padding:0;
    list-style: none;
    font-size: 16px;

}
.el-main header+div ul>li{
    width:50px;
}
#comments{
    margin-top: 10px;
}
#comments ul{
    padding: 0;
    list-style: none;
    margin-top: 20px;
}
#comments li{
    display: flex;
    padding: 10px 0;
    border: 1px solid #000;
    border-radius: 30px;
    margin: 10px auto;
    width: 90%;
}
#comments ul>li>div{
    display: flex;
    align-items: center;
    position: relative;
}
#comments li>div:first-child{
    flex:1;
}
#comments li>div:nth-child(2){
    flex:3;
}
#comments li>div:last-child{
    flex:1;
}
#newComment .el-button{
    margin-top:10px;
}
.el-aside{
    margin-left:20px;
    padding:20px 30px;
    border-radius: 8px;
    background-color: rgba(140,147,157,0.7);
    height:666px;
    overflow: visible;
}
.el-aside ol{
    padding: 0px;
}
.el-aside li{
    margin:10px 0;
    cursor: pointer;
    text-decoration: underline;
}
.el-avatar{
    margin-left: 10px;
}
.nickname{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
section>aside{
    position: relative;
    transform: translateX(105%);
    transition: 0.5s;
}
section>aside>div#drawer{
    width: 20px;
    padding: 16.8px 0;
    background: rgba(140,147,157,0.7);
    font-size: 25px;
    position: absolute;
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    transition: 0.5s;
}
section>aside>div#drawer>svg{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.5s;
}
section>aside.show{
    transform: translateX(10%);
}
section>aside>div#drawer>svg:first-child{
    opacity: 1;
}
section>aside>div#drawer>svg:last-child{
    opacity: 0;
}
section>aside.show>div#drawer>svg:first-child{
    opacity: 0;
}
section>aside.show>div#drawer>svg:last-child{
    opacity: 1;
}
.el-footer{
    background-color: rgba(231,234,236,0.7);
    color:#556a7f;
    display: flex;
    font-size: 30px;
    font-weight: bold;
    justify-content: center;
    align-content: center;
    line-height: 169px;
}
.el-main>a{
    text-decoration: none;
    color: #000;
    position: absolute;
    left: 10%;
    padding: 10px 20px;
    border-radius: 20px;
    background: #FFF;
    transition: 0.5s;
}
.el-main>a:hover{
    background: #DDD;
    color: #222;
}
.setpremium{
    position: relative;
    height: 30px;
}
.setpremium>span{
    position: absolute;
    padding: 5px 10px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #FFF;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}
.setpremium>span:hover{
    background: #000;
    color: #FFF;
}

